/* 表格样式 */
/* 现代化表格样式 */
table {
    margin-top: 6px;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

th, td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #ebeef5;
    transition: background-color .3s;
}

th {
    background-color: #f5f7fa;
    color: #606266;
    font-weight: 500;
}

/* 悬停效果 */
tr:hover td {
    background-color: #f5f7fa;
}

/* 斑马纹效果 */
tr:nth-child(even) {
    background-color: #fafafa;
}

/* 表头边框优化 */
thead {
    border-bottom: 1px solid #ebeef5;
}

/* 按钮样式 */
.btn-login, .edit-link {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    margin-right: 10px;
}

/* 闪现消息样式 */
.flashes {
    color: red;
    list-style: none;
    padding-left: 0;
}

/* 密码字段样式 */
.password-field {
    display: none;
}

.password-td:hover .password-field {
    display: block;
}

.password-td:hover .hover-to-show-password {
    display: none;
}

.password-td, .password-field, .hover-to-show-password {
    position: relative;
    top: 0;
    left: 0;
}